<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<input type="text" v-model="iptmsg"/>
			{{iptmsg}}
			<button @click="changeIptMsg()">修改ipt中的内容</button>
		
		</div>
	</body>
	<script>
	var app=new Vue({
		el:"#app",
		data:{
			iptmsg:""
		},
		methods:{
			changeIptMsg:function(){
				this.iptmsg="修改过..."
			}
		}
	})
	</script>
</html>
